Skip to content

Instantly share code, notes, and snippets.

@mberman84
mberman84 / all_files.md
Created February 24, 2026 21:09
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@aniketchavan2211
aniketchavan2211 / kali-linux-login-screen.md
Created September 15, 2025 13:29
How to change Login Screen Background of Kali Linux

How to Change Background of Login Screen of Kali Linux

πŸ” Change Lockscreen (LightDM) in Kali Linux XFCE

This guide explains how to customize the lock/login screen in Kali Linux XFCE (LightDM).


1. Backup Current Config

@baiwfg2
baiwfg2 / it-ebooks.md
Last active February 25, 2026 00:16
Download ebooks as you want
@iam-veeramalla
iam-veeramalla / claude_with_ollama.md
Last active February 25, 2026 00:16
claude code integration with ollama to use local models

Run Claude with the power of Local LLMs using Ollama

Install Ollama

curl -fsSL https://ollama.com/install.sh | sh

Pull the Model

ollama pull glm-4.7-flash # or gpt-oss:20b (for better performance)

@mberman84
mberman84 / prompts.md
Last active February 25, 2026 00:12
Prompts

OpenClaw: Extracted Prompts (Generalized)

22 copy/paste-ready prompts for building your own AI agent system. Each prompt builds a functional system or implements a proven best practice you can hand to an AI coding assistant.

Replace placeholders like <your-workspace>, <your-messaging-platform>, and <your-model> with your own values.


1. Personal CRM

@karpathy
karpathy / microgpt.py
Last active February 25, 2026 00:07
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 25, 2026 00:07
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@ruvnet
ruvnet / redaction.md
Last active February 24, 2026 23:59
Redaction hooks for Claude Code

A drop-in redaction hook wired through settings.json for Claude Code.

It masks secrets before tools run and censors sensitive fields in transcripts.

what is it?

Data leakage for enterprises using Ai coding is a β–ˆβ–ˆβ–ˆ . Redaction hooks solve β–ˆβ–ˆ problems by catching secrets before they leak. Here’s how I do it.

A redaction hook sits between your agent and the outside world. Every time Claude Code reads a file, runs a shell command, or fetches a web resource, the hook scans for sensitive patterns like API keys, tokens, or passwords. If it sees something dangerous, it either masks it with a placeholder or blocks the request outright. That way, your logs and transcripts remain useful but never expose private values.